package top.wardyan.base.config;

import java.util.Calendar;

import com.jfinal.kit.Prop;
import com.jfinal.kit.PropKit;

/**
 * 系统设定. 读取自SystemConfig.txt
 * @author ward
 *
 * 2019年2月16日
 */
public class SystemConfig {
	
	private static final String FILENAME = "SystemConfig.txt";
	
	private static final Prop prop = PropKit.use(FILENAME);
	
	/** 系统名称 **/
	public static final String SystemName = prop.get("sysName", "默认系统名称");
	
	/** 版本 **/
	public static final String Version = prop.get("version", "默认版本号");
	
	/** 版权 **/
	public static final String Copyright = prop.get("copyright", "ward@" + Calendar.getInstance().get(Calendar.YEAR));
	
	/** 联系方式 / 邮箱 **/
	public static final String EMail = prop.get("email", "harrydeep@wardyan.top");
	
	public static final String PublicKey = prop.get("publicKey", "");
	public static final String PrivateKey = prop.get("privateKey", "");
	
	
}
